Skip to content

design: Platform Bundle integration improvements #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

osinstom
Copy link
Contributor

Description

Please include a summary of the changes and the related issue. List any dependencies that are required for this change.

Fixes # (issue)

Any Newly Introduced Dependencies

Please describe any newly introduced 3rd party dependencies in this change. List their name, license information and how they are used in the project.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

@ajaythakurintel ajaythakurintel added the Proposal Identify a PR as a design proposal to be reviewed. label May 19, 2025
@osinstom osinstom changed the title [WIP] design: Platform Bundle integration improvements design: Platform Bundle integration improvements Jun 4, 2025
@osinstom osinstom marked this pull request as ready for review June 4, 2025 09:48
- Onboarding Manager:
- Extract cloud-init template to a separate Go sub-module in infra-onboarding with CI/CD and SemVer versioning
- Extend Platform Bundle library to handle new YAML format
- Extend Tinkerbell workflows with action to download Platform Bundle files and write them to target OS file system.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this tinker action does curation as well or only download and copy to target location?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only download and copy, we should not include any placeholders in the Platform Bundle files.

- Extend Platform Bundle library to handle new YAML format
- Extend Tinkerbell workflows with action to download Platform Bundle files and write them to target OS file system.
- Tinker actions:
- Implement new Tinker action that downloads Release Service artifacts (can be non-OCI to avoid implementing `oras`) and writes them to target OS location
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is possible, we will consider to avoid tinker action to download the installer from RS, we can do it in the cloud-init script itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is one of possible optimizations


```yaml
platformBundle:
files:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this content verified, to avoid download issues, or maliciously changed content?

Should a checksum or signature be required?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, skipped that in this example, but SHA256 checksum verification will be part of implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposal Identify a PR as a design proposal to be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants